Release 10.1A: OpenEdge Development:
Progress 4GL Reference
ENABLE-CONNECTIONS( ) method
Specifies the TCP/IP port that Progress uses to listen for new connections. Once called, Progress automatically listens for and accepts new connections for the specified port.
Return type: LOGICAL Applies to: Server socket object handle
connection-parmsA character string expression that contains a space-separated list of one or more socket connection parameters.
Table 63 describes the socket connection parameters you can include in this string.
Neither an AppServer nor a WebSpeed agent can act as a socket server, since they are already listening on a port. ENABLE-CONNECTIONS is only valid from batch clients, GUI clients and character clients. This method will generate an error if it is called from an invalid application. This method will also generate an error if it is called multiple times without the DISABLE-CONNECTION( ) method being called in between.
Note: Connections to an SSL-enabled server socket require the management of public keys on the client (SSL client) and private keys on the server (SSL server). For 4GL sockets, the SSL client is the 4GL session initiating the SSL connection on a socket object and the SSL server is the 4GL session enabling SSL connections on a server socket object. For information on using SSL to secure a 4GL socket connection, see the sections on sockets in OpenEdge Development: Programming Interfaces . For more information on SSL and managing private key and digital certificate stores for OpenEdge SSL clients and servers, see OpenEdge Getting Started: Core Business Services .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |